Graph Processor
class GraphProcessor(discoveryPlugin: AbstractDiscoveryPlugin<*>, logger: AbstractLogger = DefaultGraphLogger(), fragmentPatcher: FragmentPatcher = FragmentPatcher(
defaultExtension = discoveryPlugin.targetExtension,
logger = logger,
)) : AbstractGraphProcessor
GraphQL annotation processor that resolves graphql
queries, mutations and fragments by a given file name declared in GraphQuery
Parameters
discovery Plugin
A plugin which handles the discovery of .graphql files in this case we will be using AssetManagerDiscoveryPlugin
Constructors
Link copied to clipboard
constructor(discoveryPlugin: AbstractDiscoveryPlugin<*>, logger: AbstractLogger = DefaultGraphLogger(), fragmentPatcher: FragmentPatcher = FragmentPatcher(
defaultExtension = discoveryPlugin.targetExtension,
logger = logger,
))
Functions
Link copied to clipboard
Finds graphql content matching the value provided by GraphQuery